SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 42737: Incorrect results occur in implicit pass-through when you use CALCULATED keyword on GROUP BY statement

DetailsCodeHotfixAboutRate It

With SAS® Scalable Data Server®, incorrect textualization of SQL implicit pass-through queries occurs when you use the CALCULATED keyword in a GROUP BY statement.

The code in the Full Code tab of this Problem Note demonstrates the incorrect results and produces the following message in the SAS log file:

   NOTE: Implicit SQL:  select distinct t1.col2, DATEPART(t1.col1) as col1, t1.col3, COUNT(*)
         as num from TBL t1 group by t1.col2, col1, t1.col3
   NOTE: Table WORK.SASDATA created, with 66085 rows and 4 columns.

The CALCULATED keyword is missing in the Implicit SQL note above.

Select the Hot Fix tab in this Note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemBase SASSolaris for x649.21_M39.39.2 TS2M39.3 TS1M0
Linux for x649.21_M39.39.2 TS2M39.3 TS1M0
HP-UX IPF9.21_M39.39.2 TS2M39.3 TS1M0
64-bit Enabled Solaris9.21_M39.39.2 TS2M39.3 TS1M0
64-bit Enabled HP-UX9.21_M39.39.2 TS2M39.3 TS1M0
64-bit Enabled AIX9.21_M39.39.2 TS2M39.3 TS1M0
Windows 7 Ultimate 32 bit9.21_M39.39.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 Standard Edition9.21_M39.39.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 for x649.21_M39.39.2 TS2M39.3 TS1M0
Microsoft Windows Server 20089.21_M39.39.2 TS2M39.3 TS1M0
Microsoft Windows Server 2008 for x649.21_M39.39.2 TS2M39.3 TS1M0
Microsoft Windows XP Professional9.21_M39.39.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 Datacenter Edition9.21_M39.39.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 Enterprise Edition9.21_M39.39.2 TS2M39.3 TS1M0
Microsoft® Windows® for x649.21_M39.39.2 TS2M39.3 TS1M0
Microsoft Windows XP 64-bit Edition9.21_M39.39.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.21_M39.39.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.21_M39.39.2 TS2M39.3 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.